Skip to content

AnimNotify_GameplayCue Looping #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ThibNach
Copy link
Collaborator

Added opitons to AnimNotifyGameplayCue_looping class to be able to fill the gameplaycue parameters with a Line trace's hit result. ( most important here is the physical material, it is very usefull to manage the GC's surface restriction spawn condition )

Fr0oZzFred
Fr0oZzFred previously approved these changes May 28, 2025
UGameplayCueFunctionLibrary::AddGameplayCueOnActor( owning_actor, GameplayCueTag, Parameters );
FGameplayCueParameters gameplay_cue_parameters;

if ( bUseLineTraceToFeelParameters )
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be bLineTraceToFillParameters

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😮 I was filling there was a problem when I wrote this :trollface:
Done

UPROPERTY( EditAnywhere, Category = "GameplayCue", meta = ( Categories = "GameplayCue", AllowPrivateAccess ) )
FGameplayCueParameters Parameters;
UPROPERTY( EditAnywhere, Category = "Parameters", meta = ( AllowPrivateAccess ) )
uint8 bUseLineTraceToFeelParameters : 1;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be a boolean, no need for a uint8 : 1 anymore. and should be initialized to false

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@TheEmidee TheEmidee merged commit 8623d2a into develop May 28, 2025
6 checks passed
@TheEmidee TheEmidee deleted the anim_notify_gameplaycue_linetrace_parameters_from_linetrace branch May 28, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants